body {
    background-color: #fafafa;

}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: #00a5d0;
    outline: none;
}

br.clear {
    clear: both;
}

#wrapper {
    /*margin: 0 auto;*/
    /*padding: 0;*/
    /*width: 100%;*/
}

#logo {
    margin: 60px 0;
}
#logo h1 {
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-size: 48px;
    letter-spacing: -1px;
}

#categories {
    float: right;
    /*background: #444;*/

}
#categories a{
    padding: 10px;
    color: #FFF;
    font-size: 15px;
    text-decoration: none;
    background: #444;

}
#categories a:hover{
    color: #EC9E00;
    background: #000;
}
#categories li {
    margin: 0;
    margin-left: -7px;
    padding: 0;
    /*line-height: 0px;*/
    display: inline-block;
    height: 30px;
    /*background: #444;*/
}

#categories .current {
    background: #000;
    color: #EC9E00;


    /* Round select corners */

    -webkit-border-radius: 2px 2px 0 0;
    -khtml-border-radius: 2px 2px 0 0;	
    -moz-border-radius: 2px 2px 0 0;
    border-radius: 2px 2px 0 0;		
}

#output{
    /*border: solid 5px #EC9E00;*/
    padding: 0px;
}
#output img {	
    margin: 0px;
    /*    margin-top: -20px;*/
    padding: 0;
    width: 100%;
    height: 100%;
    
    /*     Round select corners 
    
        -webkit-border-radius: 25px 0;
        -khtml-border-radius: 25px 0;	
        -moz-border-radius: 25px 0;
        border-radius: 25px 0;*/
}

#nav{
    float: left;
    margin: -4px 0 0 0;
    padding: 5px 20px;
    /*padding: 20px;*/
    width: auto;
    height: auto;
    background: #444;
    text-align: center;
    display: block;	
    overflow: hidden;
    color: #EC9E00;

    /* Round select corners */

    /*-webkit-border-radius: 0 0 15px 15px;*/
    /*-khtml-border-radius:  0 0 15px 15px;*/	
    /*-moz-border-radius:  0 0 15px 15px;*/
    /*border-radius: 0 0 15px 15px;*/		

}
#nav ul {
    margin-top: 8px;
}
#nav li {
    display: inline-block;
}

#nav a {
    margin: 0;
    padding: 0 10px;
    color: #EC9E00;
    text-decoration: none;
    font-size: 25px;
}

#nav a.navStopAdvance
{
    display: inline;
}

#nav a.navPlayAdvance
{
    display: inline;
}

#nav a.active
{
    display: none;
}

#captions{
    margin: 0;
}

#captions .line
{
    margin: 5px 0 0 0;
    float: right;
    font-size: 24px;
    font-weight: bold;
    display: none;
}

#captions .line2 {
    position: absolute;
    top: 80.7%;
    display: block;
    width: auto;
    margin: 0 0px;
    background: #000;
    padding: 10px;
    text-align: left;


    /* Apply Opacity */
    -khtml-opacity:.90; 
    -moz-opacity:.90; 
    -ms-filter:"alpha(opacity=90)"; 
    filter:alpha(opacity=90); 
    opacity:.90;		
}


#captions .line3 {
    display: block;
    margin: 2em 0 2em 0;
    font-size: 0.75em;
}

.hidden {
    display: none;
}

.thumbnails
{
    width: auto;
    list-style: none;
    margin: 10px auto;
    padding: 0;
    position: relative;
    top: 0;
}

.thumbnails li
{
    margin: 7px;
    float: left;
}
.thumbnails .first
{
    margin-left: 0px;
}
.thumbnails .last
{
    margin-right: 0px;
}
.thumbnails li img
{
    width: 80px;
    height: 55px;
    border: solid 2px #444;
    cursor: pointer;

    /* Round select corners */

    -webkit-border-radius: 2px 2px;
    -khtml-border-radius: 2px 2px;	
    -moz-border-radius: 2px 2px;
    border-radius: 2px 2px;	
}

.thumbnails li img.active
{
    border: solid 4px #EC9E00;
}

